<?php

namespace app\common\model;

use app\common\RootModel;

class AccountModel extends RootModel
{
    protected $pk = 'id';
    protected $table = 'sys_account';

    /**
     * 关闭自动更新
     * @var bool
     */
    protected $updateTime = false;

    /**
     * 账号状态
     * @var string[]
     */
    public static $stateLabel = ['正常', '待验证', '异常', '被禁用'];

    /**
     * 文字颜色
     * @var string[]
     */
    public static $color = ['#009688', '#5FB878', '#FFB800', '#FF5722'];
}